A Modal Language for Effects

نویسندگان

  • Sungwoo Park
  • Robert Harper
چکیده

Building on a judgmental formulation of lax logic, we propose a modal language which can be used as a framework for practical programming languages with effects. Its characteristic feature is a syntactic distinction between terms and expressions, where terms denote values and expressions denote computations. We distinguish between control effects and world effects, and allow control effects only in terms and world effects only in expressions. Therefore the distinction between values and computations is made only with respect to world effects. We give an explanation of the type system and the operational semantics from a modal logic perspective. We also introduce a term construct similar to Haskell’s runST construct and augment the type system to ensure its safety.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Teaching Modal Verbs: Task-based vs. traditional approaches

Abstract Task-based language teaching is considered an effective way to achieve a harmony between grammar and communication. The present study investigates two different ways of teaching modal verbs: task-based versus traditional approaches. To this purpose, an Oxford Placement Test was administered to select 40 homogeneous participants out of a larger population who took this test. The selecte...

متن کامل

Teaching Modal Verbs: Task-based vs. traditional approaches

Abstract Task-based language teaching is considered an effective way to achieve a harmony between grammar and communication. The present study investigates two different ways of teaching modal verbs: task-based versus traditional approaches. To this purpose, an Oxford Placement Test was administered to select 40 homogeneous participants out of a larger population who took this test. The selecte...

متن کامل

How textbooks (and learners) get it wrong: A corpus study of modal auxiliary verbs

Many  elements  contribute  to  the  relative  difficulty  in  acquiring  specific  aspects  of  English  as  a foreign  language  (Goldschneider  &  DeKeyser,  2001).  Modal  auxiliary  verbs  (e.g.  could,  might), are  examples  of  a  structure  that  is  difficult  for  many  learners.  Not  only  are  they  particularly complex  semantically,  but  especially  in  the  Malaysian  context ...

متن کامل

The musical language Elements of Persian musical language: modes, rhythm and syntax

In treating the subject of musical language, a Persian musician would be intrinsically drawn to the structural similarities between the Persian music and language. Indeed Persian music and language are extremely related in their metrics, intonations and structural phrases (syntax). Although we will draw upon this relationship, our aim in this article is to present “music as a language,” c...

متن کامل

Isogeometric analysis: vibration analysis, Fourier and wavelet spectra

This paper presents the Fourier and wavelet characterization of vibratio...

متن کامل

Substitution as a Device of Grammatical Cohesion in English Contexts

The present study set out to investigate the effect of teaching substitution as a kind of grammatical cohesion on the true identification of confusing substitution elements with cohesive or non-cohesive roles in different contexts and also the production of modal, reporting and conditional contexts through clausal substitution acquaintance. To this end, the following procedures were taken. Firs...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004